import {constantRoutes} from '@/router'

export default{
  namespaced:true,
  state:{
    menuList:[]
  },
  mutations:{
    setMenus(state,payload){
      console.log('payloadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',payload);
      console.log(constantRoutes,'constantRoutes');
      state.menuList=[...constantRoutes,...payload]
    }
  }
}